package com.seu.githubcn.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("Tag")
@Data
public class Tag {
    @TableId(type = IdType.AUTO)
    private Integer tagId;
    private Integer repoId;
    private String tagVersion;
    private String tagTitle;
    private String description;


    @TableField(exist = false)
    private String repoName;
    @TableField(exist = false)
    private String ownerName;
}
